PJOB

Syntax: PJOB (job_ID)     
    or: PJOB (jobnr,tag)
    or: PJOB (jobname)
Location: Toolkit II

The function PJOB returns 0 if the given job does not exist, otherwise it returns the priority of the specified job.

Example:
The priority of the main SuperBASIC interpreter can be seen with:

PRINT PJOB(0).

MINERVA NOTE:
The maximum priority for a job on a standard QL is 255, however, on a Minerva ROM, the acceptable priority range is altered to -128...127. If PJOB returns a value over 127, then deduct the difference between this and 256 from zero to get the priority on a Minerva machine - see SPJOB for further details.

CROSS-REFERENCE:
JOB$, OJOB and NXJOB return other information about a job.
